package com.hydl.power.mapper;

import com.hydl.power.pojo.Maintainer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MaintainerMapper {
    int deleteById(Integer id);

    int insert(Maintainer record);

    Maintainer selectById(Integer id);

    Maintainer selectById1(String maintainerId);

    int updateById(Maintainer record);

    List<Maintainer> getAll(@Param("pageNumKey") Integer pageNum, @Param("pageSizeKey") Integer pageSize);

    List<Maintainer> getAll();

    List<Maintainer> getMaintainer(@Param("powerroomId") String powerroomId);
}